# $Id: PKGBUILD 65910 2012-02-22 13:35:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-poe-component-client-dns
pkgver=1.051
pkgrel=2
pkgdesc="Perl/CPAN Module POE::Component::Client::DNS"
arch=(any)
url="http://search.cpan.org/dist/POE-Component-Client-DNS"
license=("GPL" "PerlArtistic")
makedepends=("perl-net-dns" "perl-poe")
depends=("perl-net-dns" "perl-poe")
source=("http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-Component-Client-DNS-$pkgver.tar.gz")
md5sums=('ba9bb11cd097b2348ee3d14de3ab432a')

build() {
  cd $srcdir/POE-Component-Client-DNS-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
